const blogModel = require('../model/blog')

const getList = (author, keyword) => {
  return blogModel.getList(author, keyword);
}

const getDetail = (id) => {
  return blogModel.getDetail(id);
}

module.exports = {
  getList,
  getDetail,
}